package com.itheima.service.cargo;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.cargo.Invoice;
import com.itheima.domain.cargo.InvoiceExample;
import com.itheima.domain.cargo.ShippingOrder;
import com.itheima.domain.cargo.ShippingOrderExample;

public interface InvoiceService {
    Invoice findById(String id);

    void save(Invoice invoice);

    void update(Invoice invoice);

    void delete(String id);

    PageInfo findByPage(int pageNum, int pageSize, InvoiceExample invoiceExample);

}
